<template lang="html">
  <div class="">
    <hed></hed>
    <countrylist :conts="data"></countrylist>
    <zimulist></zimulist>
  </div>
</template>

<script>
import hed from './cyheard'
import countrylist from './countrylist'
import zimulist from './zimulist'
export default {
  data(){
    return{
      data:{}
    }
  },
  created(){
    this.axios.get('http://txspring.cn:8080/selectCountry').then(res=>{
      console.log(res);
      this.data = res.data
    }).catch(err=>{
      console.log(err);
    })
  },
  components:{
    hed,
    countrylist,
    zimulist
  }
}
</script>

<style lang="css">
</style>
